package com.github.phoenics.militia.bazookaFx.domain.entity;

import java.io.Serializable;

/**
 * @author Phoenics Chow
 * on 2019年02月08日
 */
public class EntityProperty implements Serializable {
    private static final long serialVersionUID = 1L;
    private Long id;
    private Long tableColumnId;
    private Boolean isNullable=false;
    private String propertyName;
    private String propertyCnName;
    private String propertyDataType;
    private String dataFormat;
    private String propertyComment;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getTableColumnId() {
        return tableColumnId;
    }

    public void setTableColumnId(Long tableColumnId) {
        this.tableColumnId = tableColumnId;
    }

    public Boolean getNullable() {
        return isNullable;
    }

    public void setNullable(Boolean nullable) {
        isNullable = nullable;
    }

    public String getPropertyName() {
        return propertyName;
    }

    public void setPropertyName(String propertyName) {
        this.propertyName = propertyName;
    }

    public String getPropertyCnName() {
        return propertyCnName;
    }

    public void setPropertyCnName(String propertyCnName) {
        this.propertyCnName = propertyCnName;
    }

    public String getPropertyDataType() {
        return propertyDataType;
    }

    public void setPropertyDataType(String propertyDataType) {
        this.propertyDataType = propertyDataType;
    }

    public String getDataFormat() {
        return dataFormat;
    }

    public void setDataFormat(String dataFormat) {
        this.dataFormat = dataFormat;
    }

    public String getPropertyComment() {
        return propertyComment;
    }

    public void setPropertyComment(String propertyComment) {
        this.propertyComment = propertyComment;
    }
}
